Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify the report processor #24

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Oct 27, 2022

This drops a lot of old legacy code that was used in the Puppet < 2.6 days. Those days are far behind us and this simplifies the processor a lot. It still doesn't take advantage of fields added in "recent" versions.

spec/unit/report_spec.rb Outdated Show resolved Hide resolved
@ekohl ekohl added the Enhancement New feature or request label Oct 28, 2022
files/report.rb Outdated Show resolved Hide resolved
Rather than defining an entry and then appending it, this writes it all
out so it's clear what the structure is.
Even Puppet 2.6 uses format version 2.
This takes advantage of the fact that each title is the same as the
metric's name.
This saves an intermediate array.
@ekohl
Copy link
Member Author

ekohl commented Oct 28, 2024

We're now in the stabilization week of Foreman 3.13 so I'm going to hold off on merging this until after.

@ehelms
Copy link
Member

ehelms commented Nov 20, 2024

@ekohl ready to merge this?

@ekohl
Copy link
Member Author

ekohl commented Nov 20, 2024

We're getting ready for merging Rails 7 and I'd prefer to avoid additional instability. We haven't had Foreman nightly in a week or so, so let's first get that stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants